<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<h1>选择导师</h1>
<table>
  <tr>
    <th>姓名</th>
    <th>类型</th>
    <th>名额</th>
  </tr>

<% for quantity in @quantities %>
  <tr>
    <td><%=h quantity.tname %></td>
    <td><%=h quantity.stu_type %></td>
    <td><%=h quantity.numbers %></td>
  </tr>
<% end %>
</table>
